const dayjs = require("dayjs");
const db = require('../../middleware/db'); 
const Sequelize = require('sequelize');

module.exports = db.define('plu_api_linkjs', {
    
        name:{
            comment:'名称',
            type: Sequelize.STRING(50),  
            allowNull: false,
            defaultValue: ''
            
         },
     
        platformUrl:{
            comment:'平台url',
            type: Sequelize.STRING(250),  
            allowNull: false,
            defaultValue: ''
            
         },
     
        linkUrl:{
            comment:'js链接url',
            type: Sequelize.STRING(250),  
            allowNull: false,
            defaultValue: ''
            
         },
     
        inline:{
            comment:'是否内联',
            type: Sequelize.BOOLEAN(2),  
            allowNull: false,
            defaultValue: '0'
         },
     
});